package com.agileai.bpm.controller.define;

import com.agileai.bpm.model.ProcessDefineDocument;
import com.agileai.bpm.model.ProcessDefineDocument.ProcessDefine;
import com.agileai.hotweb.controller.core.BaseHandler;

abstract public class WfProcessInfoHandler extends BaseHandler{
	public WfProcessInfoHandler(){
		super();
	}
	
	protected ProcessDefine getProcessDefine(){
		ProcessDefineDocument processDefineDocument = 
			(ProcessDefineDocument)this.getSessionAttribute(WfProcessDefineEditHandler.ProcessDefineSessionKey);
		return processDefineDocument.getProcessDefine();
	}

}
